home *** CD-ROM | disk | FTP | other *** search
- package sun.misc;
-
- import java.util.Map;
- import sun.misc.SoftCache.ValueCell;
-
- class SoftCache$Entry implements Map.Entry {
- private Map.Entry ent;
- private Object value;
- // $FF: synthetic field
- final SoftCache this$0;
-
- SoftCache$Entry(SoftCache var1, Map.Entry var2, Object var3) {
- this.this$0 = var1;
- this.ent = var2;
- this.value = var3;
- }
-
- public Object getKey() {
- return this.ent.getKey();
- }
-
- public Object getValue() {
- return this.value;
- }
-
- public Object setValue(Object var1) {
- return this.ent.setValue(ValueCell.access$400(this.ent.getKey(), var1, SoftCache.access$500(this.this$0)));
- }
-
- public boolean equals(Object var1) {
- if (!(var1 instanceof Map.Entry)) {
- return false;
- } else {
- Map.Entry var2 = (Map.Entry)var1;
- return SoftCache.access$600(this.ent.getKey(), var2.getKey()) && SoftCache.access$600(this.value, var2.getValue());
- }
- }
-
- public int hashCode() {
- Object var1;
- return ((var1 = this.getKey()) == null ? 0 : var1.hashCode()) ^ (this.value == null ? 0 : this.value.hashCode());
- }
-
- // $FF: synthetic method
- static Map.Entry access$900(SoftCache$Entry var0) {
- return var0.ent;
- }
- }
-